<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>管理员首页</title>
    <%@ include file="/WEB-INF/common/header.jsp" %>
</head>
<body>
<div class="page-content d-flex align-items-stretch">
    <%@ include file="/WEB-INF/common/navbar.jsp" %>
    <%@ include file="/WEB-INF/common/menu.jsp" %>


    <!-- 内容主体区域 -->
    <div  class="content-inner">
        <p>======学生信息列表=======</p>
        <table width="100%" border="1px" cellpadding="0" cellspacing="0">
            <thead>
            <tr>
                <th>序号</th>
                <th>学生学号</th>
                <th>学生班级</th>
                <th>入学日期</th>
                <th><a href="${ctx}/clazz/c-save.action">增加班级信息</a></th>
            </tr>
            </thead>
            <tbody>
            <c:set var="count1" value="1"></c:set>
            <c:forEach items="${clazzInfos}" var="clazz">
                <tr>
                    <td>${count1}</td>
                    <td>${clazz.claCode}</td>
                    <td>${clazz.claName}</td>
                    <td>${clazz.claCreatDate}</td>
                    <td><a href="${ctx}/clazz/c-update.action?id=${clazz.claId}">修改</a></td>
                    <td><a href="${ctx}/clazz/c-delete.action?id=${clazz.claId}">删除</a></td>
                </tr>
                <c:set var="count1" value="${count1+1}"></c:set>
            </c:forEach>
            </tbody>
        </table>
    </div>


</div>

<%@ include file="/WEB-INF/common/footer.jsp"%>
</body>
</html>
